package com.code.day20;

import java.io.FileWriter;
import java.io.IOException;

public class Demo07FileWriter {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("D:\\java-code\\java-full-stack\\01-java-base\\src\\com\\code\\day20\\file\\demo3.txt",true);
        fileWriter.write("我叫刘大胆\n");
        fileWriter.write("我叫超级无敌刘大胆\n");
        fileWriter.close();
    }
}
